package com.zretc.entity;

import java.util.List;
import java.util.Map;

public class ZhaBoy {
	private String name;
	//注入的类型 引用类型(集合)
	private List<String> nickname;  //渣男 有昵称 大猪蹄，甘蔗，劳动模范，中央空调
	//几个女朋友 注入的类型 引用类型(集合)
	private Map<Integer, String> girls;
	
	
	
	@Override
	public String toString() {
		return "ZhaBoy [name=" + name + ", nickname=" + nickname + ", girls=" + girls + "]";
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the nickname
	 */
	public List<String> getNickname() {
		return nickname;
	}
	/**
	 * @param nickname the nickname to set
	 */
	public void setNickname(List<String> nickname) {
		this.nickname = nickname;
	}
	/**
	 * @return the girls
	 */
	public Map<Integer, String> getGirls() {
		return girls;
	}
	/**
	 * @param girls the girls to set
	 */
	public void setGirls(Map<Integer, String> girls) {
		this.girls = girls;
	}
	
	
	
	
}
